﻿using System;
using CTS.Com.Domain.Helper;

namespace CTS.Com.Domain.Exceptions
{
    [Serializable]
    public class ExecuteException : Exception
    {
        public ExecuteException(string messageId, params object[] param)
        {
            var message = MessageHelper.GetMessage(messageId, param);
            throw new SysRuntimeException(message);
        }
    }
}
